<template>
  <div class="footer">
    <div class="nav">
      <ul>
        <!-- 声明式导航 -->
        <router-link to="/home" active-class="active" tag="li">
          <i class="iconfont icon-dianying"></i>
          <p>影片</p>
        </router-link>
        <router-link to="/order" active-class="active" tag="li">
          <i class="iconfont icon-yingyuan "></i>
          <p>影院</p>
        </router-link>
        <router-link to="/center" activeClass="active" tag="li">
          <i class="iconfont icon-daohanglan-05 "></i>
          <p>个人</p>
        </router-link>
      </ul>
    </div>
  </div>
</template>

<script>
import iconfont from '@/assets/iconfont/iconfont.css'
export default {

}
</script>

<style lang="scss" scoped>
.nav {
  position: fixed;
  bottom: 0;
  left: 0;
  border-top: 1px solid #ccc;
  height: 50px;
  text-align: center;
  background: #fff;
  color: #7a7e83;
  width: 100%;
  z-index: 3;

  ul {
    display: flex;
    align-items: center;
    li {
      margin-top: 4px;
      flex: 1;
      height: 43px;
      &.active {
        color: #fe5100;
      }
    //   p {
    //     margin-top: 2px;
    //   }
      i {
        font-size: 20px;
      }
    }
  }
}
</style>